package sqlanalysisgui.view.model;

public class GraphNodeConnection {
	final String id;
	final String label;
	final GraphNode source;
	final GraphNode destination;

	public GraphNodeConnection(String id, String label, GraphNode source,
			GraphNode destination) {
		this.id = id;
		this.label = label;
		this.source = source;
		this.destination = destination;
	}

	public String getLabel() {
		return label;
	}

	public GraphNode getSource() {
		return source;
	}

	public GraphNode getDestination() {
		return destination;
	}

}
